package com.qimei.onerice.service;

import com.qimei.onerice.entity.Admin;
import com.qimei.onerice.entity.Customer;

import java.util.List;

public interface CustomerService {
	Customer customerLogin(String username, String password);
	Customer getCustomerById(int customerId);
	List<Customer> getCustomerList();
	boolean deleteCustomer(int customerId);
	boolean updateCustomer(Customer customer);
	boolean addCustomer(Customer customer);
	boolean isCustomerExists(String username, String contact, String email);
}
